package com.anzia.study_12;

import com.anzia.study_12.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
	@Override
	public void onStart(Intent intent) {
		super.onStart(intent);
		super.setMainRoute(MainAbilitySlice.class.getName());
		requestPermissionsFromUser(new String[] {"ohos.permission.DISTRIBUTED_DATASYNC"}, 0);
	}
}
